<!DOCTYPE html>
<html lang="en">
<head>
    <include file="Common/top"/>
    <include file="Common/import_plugin"/>
</head>
<body>
<include file="Common/nav_menu"/>
<table class="layui-table">
    <tr>
        <td width="100">订单号</td>
        <td>{$info.order_code}</td>
    </tr>
    <tr>
        <td>API</td>
        <td>{$info.goods_api}</td>
    </tr>
    <tr>
        <td>远端订单号</td>
        <td>{$info.union_order_num}</td>
    </tr>
    <tr>
        <td>签名</td>
        <td>{$info.sign}</td>
    </tr>
    <tr>
        <td>订票人</td>
        <td>{$info.real_name}</td>
    </tr>
    <tr>
        <td>账号ID</td>
        <td>{$info.user_id}</td>
    </tr>
    <tr>
        <td>联系方式</td>
        <td>{$info.mobile}</td>
    </tr>
    <tr>
        <td>订票时间</td>
        <td>{:date('Y-m-d H:i:s' ,$info['addtime'])}</td>
    </tr>
    <tr>
        <td>游玩时间</td>
        <td>{:date('Y-m-d H:i:s' ,$info['playtime'])}</td>
    </tr>
    <tr>
        <td>付款时间</td>
        <td>{:date('Y-m-d H:i:s' ,$info['paytime'])}</td>
    </tr>
</table>


<table class="layui-table">
    <tr>
        <td width="50">二维码</td>
        <td width="120">订单号</td>
        <td width="170">子订单号</td>
        <td>票名</td>
        <td width="130">核销时间</td>
        <td width="30">验证</td>
        <td width="30">退票</td>
        <td width="30">数量</td>
        <td width="30" class="text-center">退票</td>
        <td width="30" class="text-center">支付</td>
        <td width="30" class="text-center">状态</td>
    </tr>
    <volist name="list" id="vo">
        <tr>
            <td><a href="{$vo.qr}">二维码</a></td>
            <td>{$vo.order_code}</td>
            <td>{$vo.sub_order_code}</td>
            <td>{$vo.goods_name}</td>
            <td>
                <if condition="$vo['dotime']">
                    {:date('Y-m-d H:i:s',$vo['dotime'])}
                    <else/>
                    未核销
                </if>
            </td>
            <td class="text-center">{$vo.check_num}</td>
            <td class="text-center">{$vo.return_num}</td>
            <td class="text-center">{$vo.num}</td>
            <td class="text-center">{:getStatus($vo['is_return'])}</td>
            <td class="text-center">{:getStatus($vo['is_pay'])}</td>
            <td class="text-center">{:getStatus($vo['is_status'])}</td>
        </tr>
    </volist>
</table>

</body>
</html>